﻿using Ninject.Modules;
using ReAnimation.DAL;
using ReAnimation.DAL.Repository;
using ReAnimation.DAL.RepositoryInterfaces;
using ReAnimation.Legacy.DAL;

namespace ReAnimation.Modules
{
    public class PersistenceModule : NinjectModule
    {
        public override void Load()
        {
            Bind<INHibernateUtil>().To<NHibernateUtil>().InSingletonScope();
            Bind<IAtomDescriptionRepository>().To<AtomDescriptionRepository>().InSingletonScope();
        }
    }
}
